import { View } from '@tarojs/components';

export default function PointTag(props: { value: number }) {
  return (
    <View className=' text-xs text-white leading-5 pl-1 pr-1 bg-warn rounded-sm flex items-center'>
      <View
        className=' w-4 h-4 bg-cover'
        style={{
          backgroundImage: `url(https://applets-1302975996.cos.ap-nanjing.myqcloud.com/zhb/icon-star.png?v=1.0.0)`,
        }}
      ></View>
      参与可获得{props.value}积分
    </View>
  );
}
